#ifndef __LOCAL_CONFIG_H
#define __LOCAL_CONFIG_H

#define LOCAL_CONFIG "/etc/local_config.xml"

typedef struct
{
	char host_addr[20];
	char host_mac[20];
	char guest_addr[20];
	char guest_mac[20];
	char passwd[20];
	char cfg_name[40];
}S_LOCAL_ITEM, *PS_LOCAL_ITEM;


int local_set_host_addr(char *addr);
int local_set_host_mac(char *mac);
int local_get_host_addr(char *addr, int len);
int local_get_host_mac(char *mac, int len);
int local_set_guest_addr(char *addr);
int local_set_guest_mac(char *mac);
int local_get_guest_addr(char *addr, int len);
int local_get_guest_mac(char *mac, int len);
int load_local_item();
int save_local_item();
int local_set_passwd(char *word);
int local_get_passwd(char *word, int len);
int local_set_cfgname(char *name);
int local_get_cfgname(char *name, int len);



#endif
